package com.muki.wareHouse;

import java.util.ArrayList;
import java.util.List;

public class CorpusAssistant {

	private static List<SpiderParser> sps = new ArrayList<>();
	
	public static void registery(SpiderParser sp) {
		sps.add(sp);
	}
	
	public static void parse(String context,String topic) {
		for(SpiderParser sp:sps) {
			sp.parse(context,topic);
		}
	}
}
